
namespace JTZY.Model.Business.Dto
{
    /// <summary>
    /// 地区表查询对象
    /// </summary>
    public class CorecmsareaQueryDto : PagerInfo 
    {
    }

    /// <summary>
    /// 地区表输入输出对象
    /// </summary>
    public class CorecmsareaDto
    {
        [Required(ErrorMessage = "地区ID不能为空")]
        public int Id { get; set; }

        public int? ParentId { get; set; }

        public int? Depth { get; set; }

        public string Name { get; set; }

        [Required(ErrorMessage = "地区排序不能为空")]
        public int Sort { get; set; }



    }
}